Page 155 of 189
#
# MAIDS PROJECT SOUND ACTIVATION GLOBALS **********************************
#
__sounds__ = ( '/home/pi/mp3/leaveroom.mp3', '/home/pi/mp3/10.mp3',
'/home/pi/mp3/9.mp3', '/home/pi/mp3/8.mp3', \
'/home/pi/mp3/7.mp3', '/home/pi/mp3/6.mp3', '/home/pi/mp3/5.mp3',
'/home/pi/mp3/4.mp3', \
'/home/pi/mp3/3.mp3', '/home/pi/mp3/2.mp3', '/home/pi/mp3/1.mp3',
'/home/pi/mp3/maids_activated.mp3' )
__sounds2__ = ( '/home/pi/mp3/s2.wav', '/home/pi/mp3/51267034.mp3')
__sounds3__ = ( '/home/pi/mp3/deactivating.mp3', '/home/pi/mp3/shutdown.mp3',
'/home/pi/mp3/goodbye.mp3')
__count__ = 11
#
#MySQL DATABASE GLOBALS ***************************************************
#
__address__ = "1234 Brook Road, Etobicoke, ON."
__location__ = "Room"
__reportingperson__ = "CONOR PATRICK JOSEPH MEIS"
__contactphone__ = "647-123-4567"
__contactemail__ = "cfpm@live.ca"
intrusiondate = datetime.datetime.now()
#==========================================================================
#************************ END OF GLOBALS **********************************
#==========================================================================
#==========================================================================
# MAIDS PYTHON SCRIPT DESCRIPTION
#==========================================================================
#
# This script will set up the inputs/oputput pins for the Meis
# Alarm Intrusion Detection System (MAIDS) and manipulated them
# to provide a fully functional intrusion detection system based
# on motion and sound sensors, warning lights and buzzer alarm.
# Email notifications with pictures, Android Push Notifications,
# SMS message and phone call are sent upon intrusion being
# registered by sensors.
#==========================================================================
# MAIDS MIT LICENSE INFORMATION
#==========================================================================
#
# Copyright 2019 Claudio F. Meis - MAIDS PROJECT
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,